package cc.linker.steplink.crm.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表
 */
public class UserbaseDo implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /**
     * uuid用户id
     */
    private String userid;

    /**
     * 支持与外部系统的关联，某些系统，可以选择用户以整型数字标识ID
     */
    private Integer userextid;

    /**
     * 部门id（用户只能并且必须属于一个部门。自动分配，终身不可修改。用户只能并且必须属于一个部门）
     */
    private String depid;

    /**
     * 职位（可以有多个职位）
     */
    private String position;

    /**
     * 用户账号
     */
    private String usercode;

    /**
     * 用户密码（密码字段保留，但密码不同步）
     */
    private String userpwd;

    /**
     * 用户名称
     */
    private String username;

    /**
     * 用户头像，应分大小
     */
    private String headsculpture;

    /**
     * 用户类型：0:普通用户,1:超级管理员； 超级管理员在用户中心可以跳开权限控制系统，具备所有管理功能权限，普通用户权限由权限控制系统定义
     */
    private Byte usertype;

    /**
     * 手机号，多个手机以;分隔
     */
    private String mobilephone;

    /**
     * 是否公开
     */
    private Byte ispublic;

    /**
     * 电话号码
     */
    private String telephone;

    /**
     * QQ
     */
    private String qqnumber;

    /**
     * 生日
     */
    private Date birthday;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 联系地址
     */
    private String contactaddress;

    /**
     * 锁定标志：0:未激活,1:激活
     */
    private Byte isenable;

    /**
     * 备注
     */
    private String remark;

    /**
     * ID卡数据
     */
    private String idcardno;

    /**
     * 最后登录时间
     */
    private Date lastlogin;

    /**
     * 登录次数
     */
    private Integer logintotal;

    /**
     * 在线状态
     */
    private Byte online;

    /**
     * 最后创建的会话id
     */
    private String sessionid;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 备用字段
     */
    private String reserve;

    /**
     * 编辑时间
     */
    private Date edittime;
    
    /**
     * 机构码
     */
    private String orgcode;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Integer getUserextid() {
        return userextid;
    }

    public void setUserextid(Integer userextid) {
        this.userextid = userextid;
    }

    public String getDepid() {
        return depid;
    }

    public void setDepid(String depid) {
        this.depid = depid == null ? null : depid.trim();
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode == null ? null : usercode.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getHeadsculpture() {
        return headsculpture;
    }

    public void setHeadsculpture(String headsculpture) {
        this.headsculpture = headsculpture == null ? null : headsculpture.trim();
    }

    public Byte getUsertype() {
        return usertype;
    }

    public void setUsertype(Byte usertype) {
        this.usertype = usertype;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone == null ? null : mobilephone.trim();
    }

    public Byte getIspublic() {
        return ispublic;
    }

    public void setIspublic(Byte ispublic) {
        this.ispublic = ispublic;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getQqnumber() {
        return qqnumber;
    }

    public void setQqnumber(String qqnumber) {
        this.qqnumber = qqnumber == null ? null : qqnumber.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getContactaddress() {
        return contactaddress;
    }

    public void setContactaddress(String contactaddress) {
        this.contactaddress = contactaddress == null ? null : contactaddress.trim();
    }

    public Byte getIsenable() {
        return isenable;
    }

    public void setIsenable(Byte isenable) {
        this.isenable = isenable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getIdcardno() {
        return idcardno;
    }

    public void setIdcardno(String idcardno) {
        this.idcardno = idcardno == null ? null : idcardno.trim();
    }

    public Date getLastlogin() {
        return lastlogin;
    }

    public void setLastlogin(Date lastlogin) {
        this.lastlogin = lastlogin;
    }

    public Integer getLogintotal() {
        return logintotal;
    }

    public void setLogintotal(Integer logintotal) {
        this.logintotal = logintotal;
    }

    public Byte getOnline() {
        return online;
    }

    public void setOnline(Byte online) {
        this.online = online;
    }

    public String getSessionid() {
        return sessionid;
    }

    public void setSessionid(String sessionid) {
        this.sessionid = sessionid == null ? null : sessionid.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getReserve() {
        return reserve;
    }

    public void setReserve(String reserve) {
        this.reserve = reserve == null ? null : reserve.trim();
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public String getOrgcode() {
        return orgcode;
    }

    public void setOrgcode(String orgcode) {
        this.orgcode = orgcode;
    }
}